{#include file="admin_header.htm"#}
{#include file="admin_link_nav.htm"#}
<div class="admin_main_nr_box">
  <table width="700" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="400" valign="top"><form action="admin_link.php?act=addsave" method="post" enctype="multipart/form-data" name="FormData" id="FormData" onsubmit="return chk_regform();">
        <table width="500" border="0" cellspacing="3" cellpadding="3">
          <tr>
            <td width="88" align="right">鏈接名稱：</td>
            <td width="391"><input name="link_name" type="text" class="article_text_f" id="link_name" maxlength="10"/></td>
          </tr>
          <tr>
            <td align="right">鏈接地址：</td>
            <td><input name="link_url" type="text" class="article_text_f" id="link_url" value="http://" maxlength="80"/></td>
          </tr>
          <tr>
            <td align="right">添 加 到：</td>
<td><select name="category_id" class="article_text_f" id="category_id" style="width:206px;">
{#section name=get_link_category loop=$get_link_category#}

  <option value="{#$get_link_category[get_link_category].id#}"  >{#$get_link_category[get_link_category].categoryname#}</option>          
{#/section#}              
</select>
</td>
</tr>
          <tr>
            <td align="right">顯示順序：</td>
            <td><input name="show_order" type="text" class="article_text_f" id="show_order" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" value="50" maxlength="3"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
            數字越大越靠前</td>
          </tr>
          <tr>
            <td align="right">鏈接LOGO：</td>
            <td><input type="file" name="logo"  style="height:24px; width:272px; font-size:12px; line-height:20px;"  onkeydown="alert('請點擊右側“瀏覽”選擇您電腦上的圖片！');return false"/></td>
          </tr>
          <tr>
            <td align="right">或LOGO地址：</td>
            <td><input name="http_logo" type="text" class="article_text_f" id="http_logo" value="http://" maxlength="80"/></td>
          </tr>
		  <tr>
            <td align="right" valign="top">備注：</td>
            <td><textarea name="Notes" style="width:300px; height:50px; font-size:12px; line-height:180%" onpropertychange="if(this.value.length>100){this.value=this.value.slice(0,100)}"></textarea>
              <br />
              (備注不在前臺顯示，只作為管理員的備忘標記) </td>
		  </tr>
          <tr>
            <td align="center">&nbsp;</td>
            <td align="left"><input type="submit" name="Submit3" value="確定提交" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'"/></td>
          </tr>
        </table>
      </form></td>
    </tr>
  </table>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>
